package com.example.mq.common.network.expansion;

import com.example.mq.common.network.BasicArguments;
import com.example.mq.mqserver.core.ExchangeType;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * 表示 创建交换机的方法参数
 */
@Data
public class ExchangeDeclareArguments extends BasicArguments implements Serializable  {
    private String exchangeName;
    private ExchangeType exchangeType;
    private boolean durable;
    private boolean autoDelete;
    private Map<String,Object> arguments;

}
